/**
 * Created by dell on 16-7-18.
 */
window.onload=function() {
    ProductList();
    showCount()
}
function  ProductList(){
    document.getElementById("label").onclick = function(){
        window.location.assign("../html/productList.html");}
    document.getElementById("label1").onclick = function(){
        window.location.assign("../html/productList.html");}
    document.getElementById("productList").onclick = function(){
        window.location.assign("../html/productList.html");}
    document.getElementById("shoppingCart").onclick = function(){
        window.location.assign("../html/shoppingCart.html");}
}
function showCount(){
    document.getElementById("cartCount").innerHTML= localStorage.getItem("cartCount")||0
}